package es.unex.meigas.dataObjects;

/**
 * A simple implementation of the IRecord interface
 * @author volaya
 *
 */
public class RecordImpl implements IRecord {

	private Object m_Values[];

	/**
	 * Creates a new record from an array of values
	 * @param values an array of values
	 */
	public RecordImpl(Object[] values) {

		m_Values = values;

	}

	public Object getValue(int field) {

		return m_Values[field];

	}

	public Object[] getValues() {

		return m_Values;

	}

}
